<!--
 * @Author: bigflower
 * @Date: 2022-04-13 11:48:15
 * @LastEditors: csh
 * @LastEditTime: 2022-07-27
 * @Description: file content
 * @FilePath: /wochat-vue3-ts-pinia/src/views/WxChat.vue
-->
<template>
  <div class="chat-main">
    <chat-page></chat-page>
  </div>
</template>
<script>
import ChatPage from './chats/ChatPage.vue';
import { useUserStore } from '../store/user';
export default {
  name: 'WxChat',
  components: { ChatPage },
  data() {
    return {
      userInfo: {},
    };
  },
  created() {
    // this.userInfo = bdm.getUserInfo();
    this.userInfo = useUserStore();
  },
  methods: {},
};
</script>

<style lang="less" scoped>
.chat-main {
  height: 100%;
  width: 100%;
  display: flex;
}
</style>
